/* Mobile Portrait View */
@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.left, .right, .copyright-txt, .gt_design_by, .wp_powerd_by{ float:none; text-align:center;}
#layout_wrapper{ width:100%; padding:0 20px;}
.logo{ width:auto; float:none; text-align:center; margin-bottom:5px; position:relative; padding:8px 0;}
.site_content_layout{ float:none; width:100%;}
#site_content_style{ padding:20px;}

.blogpost_imagebx{ width:100%; float:none; margin:0 0 10px;}
#sidebar{ width:100%; float:none;}
.content-area{ width:auto; margin:0; padding:50px 20px;}
.wrt_content_wrapper{ width:auto; float:none;}

/*slider css*/
#slider{ top:0; margin:0;}
.nivo-caption h2{ font-size:22px !important; line-height:22px !important; }
.nivo-directionNav a{ top:35% !important;}
.nivo-controlNav{ display:none !important;}
a.nivo-prevNav{ left:1%;}
a.nivo-nextNav{right:1%;}
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea{ width:100%;}
.widget-column-1, .widget-column-2, .widget-column-3, .widget-column-4{ float:none; width:100%; margin:0 0 5px; padding:0; text-align:left;}
.footer-wrapper ul li{ margin:0;}
.footer-wrapper ul li a{ padding:5px;}
.footer-wrapper h2{ font-size:20px;}
.blogpost_layout .blogpost_imagebx{ width:auto; height:auto; overflow:hidden; float:none; margin:0 0 25px 0;}
.blogpost_layout .blogpost_imagebx img{ height:auto; min-height: inherit;}
.blogpost_layout{ float:none; width:100%; margin:0 0 30px 0;}

}

/* Mobile Landscape View */
@media screen and (min-width: 481px) and (max-width: 767px){
*{box-sizing:border-box;}
.content-area{ width:440px; margin:0 auto;}
.nivo-controlNav{ display:none !important;}
.blogpost_imagebx{ width:50%; float:left; margin:5px 20px 10px 0;}

}
/* Mobile Landscape View */
@media screen and (min-width: 300px) and (max-width: 481px){
*{box-sizing:border-box;}
.nivo-caption{ width:100%;}
.header-socialicons{ display:block; padding:0; position:relative; text-align:center;}
.header-socialicons a{ padding:0; padding:0 10px; display:inline-table; line-height:40px;}
.nivo-directionNav{ display:none;}

}

@media screen and (min-width:768px) and (max-width: 980px){

.nivo-directionNav a{ top:40%;}
.blogpost_layout .blogpost_imagebx{ height:150px;}
.blogpost_layout .blogpost_imagebx img{ min-height:150px;}
.site_content_layout{ width:100%; float:none;}
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
*{box-sizing:border-box;}
.logo{ padding:20px 0;}
.logo h1{ font-size:28px;}
/*slider css*/
.nivo-caption h2{ font-size:42px; line-height:45px;}
.content-area{ width:auto; margin:0; padding:50px 20px;}
#sidebar{ width:30%;}
.wrt_content_wrapper{ width:65%;}
#layout_wrapper{ width:100%;}
}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:981px) { 
*{box-sizing:border-box;}
.site_content_layout{ width:74%;}
}

@media screen and (max-width: 980px){
.toggleMenu{display: block;}
.sitenav{float:none; margin:0; top:0; position:relative; overflow-x:hidden;}
.sitenav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.sitenav ul li{ display:block; float:none; text-align:left; border-right:none;}
.sitenav ul li a{padding:5px 10px !important; display:block; text-align:left;}
.sitenav ul li a:hover{color:#ffffff;}
.sitenav ul li ul, .sitenav ul li ul ul{ display:block !important; background: transparent !important;}
.sitenav ul li ul li{ border-top:1px #888 solid; border-bottom:0 ;}
.sitenav ul li ul li a{padding-left:20px !important;}
.sitenav ul li ul li ul li a{padding-left:30px !important;}
.sitenav ul li ul li ul li ul li a{padding-left:40px !important;}
.sitenav ul li:hover > ul{ background:none !important;}

.sitenav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0;}
.sitenav ul li:hover ul li ul, .sitenav ul li:hover ul li:hover > ul, .sitenav ul li:hover ul li:hover > ul li ul{  background: transparent !important; display:block; position:relative !important;  right:0; left:0; top:0;}
.sitenav ul li:hover ul li:hover ul, .sitenav ul li:hover ul li:hover ul li:hover ul{ left:0 !important;}
.menuleft{ height:auto; float:none; position:relative; width:100%;}
.menufixedleft{ height:auto;}
.menu-bottom{ display:none;}
}
